gsr
07/04/2024, 12:28 AMdraw: 2
columns: id,name,email,texture
order[0][column]: 0 - problem area
order[0][dir]: asc
order[0][name]:
start: 0
length: 10
search[value]: trf - problem area
search[regex]: false
and i am running a check on server side to see if the arguments.search.value is not empty
<cfif structKeyExists(arguments, "search") AND structKeyExists(arguments.search, "value") AND len(trim(arguments.search.value))>
<cfset sql &= " AND (">
<cfloop array="#columnList#" index="col">
<cfif col GT 1>
<cfset sql &= " OR ">
</cfif>
<cfset sql &= "#col# LIKE '%#arguments.search.value#%'">
</cfloop>
<cfset sql &= ")">
</cfif>
what is wrong hereTomy Saman
07/04/2024, 12:55 AMgsr
07/04/2024, 12:58 AMMatt Jones
07/04/2024, 1:39 AMMatt Jones
07/04/2024, 1:44 AMgsr
07/04/2024, 3:58 AMgsr
07/04/2024, 3:59 AMgsr
07/04/2024, 3:59 AMrodyon
07/05/2024, 2:21 PMMatt Jones
07/05/2024, 3:29 PM